const express = require('express');

  const app = express();
  const server = require('http').createServer(app);

// server.listen(9999);
app.use(express.static('./build'));
app.get('/', (req, res) => {
  res.sendFile(`${__dirname}index.html`);
});

app.listen(9999, () => {
  console.log('web服务已启动，请访问：http://localhost:9998');
});
